Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Clean up config handling in target allocator #2470

Merged

Conversation

swiatekm
Copy link
Contributor

I've made defaults for some options easier to work with by following Go conventions - used string values with an empty string signifying no value, instead of pointers.

I've also made an internal change to target allocator, where it's now clear that we only use scrape configs out of the Prometheus config, and ignore everything else. I'd like to make this more explicit in the future and reject configurations which include anything other than scrape configs.

@swiatekm swiatekm marked this pull request as ready for review December 23, 2023 15:51
@swiatekm swiatekm requested a review from a team December 23, 2023 15:51
@swiatekm swiatekm force-pushed the chore/targetallocator-config branch from 28b94ef to aa30999 Compare January 9, 2024 18:39
@jaronoff97 jaronoff97 merged commit c88cc20 into open-telemetry:main Jan 9, 2024
27 checks passed
@swiatekm swiatekm deleted the chore/targetallocator-config branch January 10, 2024 09:49
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants